package com.changgou.system.dao;

import com.changgou.system.pojo.Admin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface AdminMapper extends Mapper<Admin> {

    @Select("select * from tb_admin where login_name = #{loginName}")
    Admin findByloginName(@Param("loginName") String loginName);
}
